package com.itheima.ood.inner.demo01;

public class Outer {

    private int a = 23;

    class Inner{

        public void show() {
            System.out.println(a);
        }
    }

    public void method() {

        Inner inner = new Inner();
        inner.show();
    }

    public static void main(String[] args) {

        Outer outer = new Outer();
        outer.method();
    }
}
